<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<meta name="generator" content="JsDoc Toolkit 1.0">
	<title>JsDoc: simile-ajax-api.js</title>
	<link rel=stylesheet href="default.css" type="text/css" media=screen>
</head>

<body>
	<div class="content">
		<div class="docs">
		
			<div class="sectionHead">Library: simile-ajax-api.js</div>
			<div class="section overview">
				<div class="itemTitle">
					Overview
				</div>
				<div>	
					<div class="desc">No overview provided.</div>
					<div class="itemTags">
					
					</div>
				</div>
			</div>
			
			<div class="sectionHead">Constructors</div>
			
			
			
			
			
			
			<div class="sectionHead">Functions</div>
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="SimileAjax.prefixURLs"></a>
					
					
					SimileAjax.prefixURLs(<span class="signature">urls, urlPrefix, suffixes</span>)
					
				</div>
				
				
					<div class="desc">Append into urls each string in suffixes after prefixing it with urlPrefix.</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							Array
						</td>
						<td>
							urls
						</td>
						<td>
							
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							String
						</td>
						<td>
							urlPrefix
						</td>
						<td>
							
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							Array
						</td>
						<td>
							suffixes
						</td>
						<td>
							
						</td> 
					</tr>
				
				</table>
				
				
				
				
				
			</div>
			
			
			
			<div class="section function">
				<div class="itemTitle">
					<a name="SimileAjax.parseURLParameters"></a>
					
					
					SimileAjax.parseURLParameters(<span class="signature">url, to, types</span>)
					
				</div>
				
				
					<div class="desc">Parse out the query parameters from a URL</div>
				
				
				
				
				
				<div class="detailHead">parameters</div>
				<table class="params">
				
					<tr>
						<td class="type">
							String
						</td>
						<td>
							url
						</td>
						<td>
							the url to parse, or location.href if undefined
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							Object
						</td>
						<td>
							to
						</td>
						<td>
							optional object to extend with the parameters
						</td> 
					</tr>
				
					<tr>
						<td class="type">
							Object
						</td>
						<td>
							types
						</td>
						<td>
							optional object mapping keys to value types
       (String, Number, Boolean or Array, String by default)
						</td> 
					</tr>
				
				</table>
				
				
				
				<div class="detailHead">returns</div>
				<table class="params">
				
					<tr>
						<td class="type">
							
						</td>
						<td>
							a key/value Object whose keys are the query parameter names
						</td> 
					</tr>
				
				</table>
				
				
				
			</div>
			
			
			
			<div class="sectionHead">Objects</div>
			
			
			
			
			
			
			
		</div>
	</div>
	<div class="finePrint">
	Generated by <a href="http://jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> on Tue, 07 Aug 2007 20:53:48 GMT
	</div>
</body>
</html>
